package com.jinmdz.fmis.dao.model.search;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.base.BasePageData;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 操作日志记录查询
 *
 * @author LiCongLu
 * @date 2020-04-20 15:10
 */
public class SearchOperationLogData extends BasePageData {
    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 员工姓名/工号
     */
    @ApiModelProperty(value = "员工姓名/工号", name = "fullNameJobNo", position = 3)
    private String fullNameJobNo;

    /**
     * 日志内容
     */
    @ApiModelProperty(value = "日志内容", name = "logContent", position = 4)
    private String logContent;

    /**
     * 日志操作时间，开始时间（含）
     */
    @ApiModelProperty(value = "日志操作时间，开始时间（含）", name = "createTimeStart", example = "2020-04-20 15:21", position = 6)
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date createTimeStart;

    /**
     * 日志操作时间，截止时间（含）
     */
    @ApiModelProperty(value = "日志操作时间，截止时间（含）", name = "createTimeEnd", example = "2020-04-21 10:21", position = 7)
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date createTimeEnd;

    public String getBusinessCode() {
        return businessCode;
    }

    public SearchOperationLogData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getFullNameJobNo() {
        return fullNameJobNo;
    }

    public SearchOperationLogData setFullNameJobNo(String fullNameJobNo) {
        this.fullNameJobNo = fullNameJobNo;
        return this;
    }

    public String getLogContent() {
        return logContent;
    }

    public SearchOperationLogData setLogContent(String logContent) {
        this.logContent = logContent;
        return this;
    }

    public Date getCreateTimeStart() {
        return createTimeStart;
    }

    public SearchOperationLogData setCreateTimeStart(Date createTimeStart) {
        this.createTimeStart = createTimeStart;
        return this;
    }

    public Date getCreateTimeEnd() {
        return createTimeEnd;
    }

    public SearchOperationLogData setCreateTimeEnd(Date createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
        return this;
    }
}
